package com.project.bean;

import java.time.LocalDate;

/**
 * 服务订单明细实例
 */
public class OrderServiceBean {
    /**编号*/
    private int id;
    /**商品对象*/
    private ServiceBean service;
    /**购买数量*/
    private int buyNum;
    /**订单对象*/
    private OrderBean order;
    /**价格*/
    private int price;
    /**评价状态*/
    private String state="未评价";
    /**执行日期*/
    private LocalDate serviceDate;
    /**执行时间段*/
    private String serviceTime;
    /**执行电员*/
    private EmployeeBean employee;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public ServiceBean getService() {
        return service;
    }

    public void setService(ServiceBean service) {
        this.service = service;
    }

    public int getBuyNum() {
        return buyNum;
    }

    public void setBuyNum(int buyNum) {
        this.buyNum = buyNum;
    }

    public OrderBean getOrder() {
        return order;
    }

    public void setOrder(OrderBean order) {
        this.order = order;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public LocalDate getServiceDate() {
        return serviceDate;
    }

    public void setServiceDate(LocalDate serviceDate) {
        this.serviceDate = serviceDate;
    }

    public String getServiceTime() {
        return serviceTime;
    }

    public void setServiceTime(String serviceTime) {
        this.serviceTime = serviceTime;
    }

    public EmployeeBean getEmployee() {
        return employee;
    }

    public void setEmployee(EmployeeBean employee) {
        this.employee = employee;
    }

    @Override
    public String toString() {
        return "OrderServiceBean{" +
                "id=" + id +
                ", service=" + service +
                ", buyNum=" + buyNum +
                ", order=" + order +
                ", price=" + price +
                ", state='" + state + '\'' +
                ", serviceDate=" + serviceDate +
                ", serviceTime='" + serviceTime + '\'' +
                ", employee=" + employee +
                '}';
    }
}
